package com.sudo.service.admin.service;


import com.sudo.dao.admin.entity.SysMemLog;

import java.util.List;
import java.util.Map;

public interface SysMemLogService {

    void insertMemLogToRedis(String server, SysMemLog sysMemLog);

    void insertMemLogFromRedisToMysql(String serverNode);

    List<SysMemLog> getMemLogListFromRedis(String serverNode);

    Map<String,Object> getAllCpuMemInfoActualTime(Integer num);

    String getCpuMemInfoActualTimeByServer(String server, Integer num);
}
